package cn.eeepay.framework.service.workOrder;


import cn.eeepay.framework.model.UserLoginInfo;
import cn.eeepay.framework.model.workOrder.WorkOrder;
import cn.eeepay.framework.model.workOrder.WorkProductConfigEntity;
import cn.eeepay.framework.util.ResultModel;

import java.util.List;

/**
 * 工单业务配置表
 *
 * @author quanhz
 * @email
 * @date 2020-08-20 09:01:59
 */
public interface WorkProductConfigService {


    WorkProductConfigEntity getById(Long id);

    ResultModel updateById(WorkProductConfigEntity workProductConfig);

    ResultModel removeByIds(List<Long> asList);

    WorkProductConfigEntity getDefaultconfig();

    boolean checkOrderType(String workTypeId);

    void toWarning(WorkOrder order, UserLoginInfo userLoginInfo);
}

